Skip to content

removed CAPIO_DIR from CAPIO_SERVER#149

Merged
marcoSanti merged 3 commits intocapio-v2from
symbolic-links
Aug 1, 2025
Merged

removed CAPIO_DIR from CAPIO_SERVER#149
marcoSanti merged 3 commits intocapio-v2from
symbolic-links

Conversation

@marcoSanti
Copy link
Copy Markdown
Member

No description provided.

@marcoSanti marcoSanti marked this pull request as draft August 1, 2025 12:36
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 1, 2025

Codecov Report

❌ Patch coverage is 24.44444% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.85%. Comparing base (0acf75b) to head (e821427).
⚠️ Report is 1 commits behind head on capio-v2.

Files with missing lines Patch % Lines
src/server/capio-cl-engine/json_parser.hpp 9.67% 30 Missing and 26 partials ⚠️
src/server/utils/parser.hpp 25.00% 4 Missing and 5 partials ⚠️
src/posix/handlers/access.hpp 50.00% 0 Missing and 1 partial ⚠️
src/posix/utils/requests.hpp 85.71% 0 Missing and 1 partial ⚠️
src/server/client-manager/handlers/consent.hpp 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           capio-v2     #149      +/-   ##
============================================
+ Coverage     44.66%   44.85%   +0.18%     
============================================
  Files            79       78       -1     
  Lines          4343     4341       -2     
  Branches       2566     2578      +12     
============================================
+ Hits           1940     1947       +7     
- Misses         1181     1273      +92     
+ Partials       1222     1121     -101     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marcoSanti marcoSanti changed the title Removed get_capio_dir() from server component, except from parser removed CAPIO_DIR from CAPIO_SERVER Aug 1, 2025
@marcoSanti marcoSanti marked this pull request as ready for review August 1, 2025 14:16
@marcoSanti marcoSanti merged commit 595ba7e into capio-v2 Aug 1, 2025
55 of 56 checks passed
@marcoSanti marcoSanti deleted the symbolic-links branch August 1, 2025 14:19
marcoSanti added a commit that referenced this pull request Aug 1, 2025
This commit simplifies the CAPIO server component, by removing the requirement to have the CAPIO_DIR directory provided as an environment variable.

This in turn allows different posix applications to execute with different CAPIO_DIR, but with the same CAPIO_WORKFLOW_NAME.

Finally when the capio_server parser encounters a relative path, this path is resolved to an absolute one, with prefix the current working directory of the capio server. This prefix can be changed with the command line option  --resolve-capiocl-to

---------

Co-authored-by: Marco Edoardo Santimaria <marcoedoardo.santimaria@unito.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant